package com.tanhua.dubbo.server.pojo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 封装数据到mongodb
 * 语音功能
 */
@Data
@Document(collection = "audio")
public class Audio implements Serializable {
    private static final long serialVersionUID = 432183095092217543L;
    private ObjectId id;//主键
    private Long useId; //发送语音的用户id
    private String url; //语音的保存地址
    private Long created;//发送语音的时间

}
